package com.md.java;

public class Lianxi1 {
	public static void main(String[] arge) {
		int a [] = {11,22,33,44,55};
		mind(a);

	}


public static void mind(int a[]) {
	for (int i = 0; i < a.length; i++) {
		if (i==0) {
			System.out.print("["+a[i]+",");
		} else if(i==(a.length-1)){
			System.out.print(a[i]+"]");
		}else {
			System.out.print(a[i]+",");
		}
	}
}
}
